package IO.sortie;

import librairies.liste.interfaces.IListeE;
import librairies.liste.list.ListeDCE;

import org.junit.Test;

public class OutTest 
{
	@Test
	public void testSortieStandardString()	//ok
	{
		Out out = Out.getInstance();
		
		out.sortieStandard("test string 0");
		out.sortieStandard("test string 1");
	}

	@Test
	public void testSortieStandardList()	//ok
	{
		Out out = Out.getInstance();
		
		IListeE<String> list0 = new ListeDCE<String>();
		IListeE<String> list1 = new ListeDCE<String>();
		
		list0.add("test liste 00");
		list0.add("test liste 01");
		list0.add("test liste 02");
		
		list1.add("test liste 10");
		list1.add("test liste 11");
		list1.add("test liste 12");
		
		out.sortieStandard(list0);
		out.sortieStandard(list1);
	}
}
